﻿namespace rehabilitation.Models
{
    public class Patient
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public string Sex { get; set; }
        public int Age { get; set; }
        public string Phone { get; set; }
        public string Avatar { get; set; }
        public string Remark { get; set; }
        public DateTime CreateTime { get; set; } = DateTime.Now;

        // 添加与医生的多对多关系
        public List<DoctorPatient> DoctorPatientRelations { get; set; } = new List<DoctorPatient>();

        // 关联随访记录
        public List<Visit> Visits { get; set; } = new List<Visit>();

        // 关联康复指导
        public List<Guidance> Guidances { get; set; } = new List<Guidance>();

        // 关联医患沟通
        public List<Communicate> Communications { get; set; } = new List<Communicate>();
    }
}
